home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
et
/
et-2_2.lha
/
et2.2
/
src
/
ImageItem.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-11-28
|
817b
|
39 lines
#ifndef ImageItem_First
#ifdef __GNUG__
#pragma once
#endif
#define ImageItem_First
#include "VObject.h"
//---- ImageItem ---------------------------------------------------------------
class ImageItem : public VObject {
protected:
bool deleteBitmap;
Bitmap *bmp;
short base;
public:
MetaDef(ImageItem);
ImageItem(Bitmap *b, int base= 0);
ImageItem(short*, Point, int base= 0);
ImageItem(int id, Bitmap *b, int base= 0);
~ImageItem();
void SetBitmap(Bitmap *bm, bool redraw= TRUE);
Bitmap *GetBitmap()
{ return bmp; }
Metric GetMinSize();
int Base();
void SetBase(int b)
{ base= b; }
void Draw(Rectangle);
void DoObserve(int, int part, void*, Object *op);
ostream& PrintOn (ostream&);
istream& ReadFrom(istream&);
};
#endif ImageItem_First